
/* ================= RESET ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    overflow-x:hidden;
    background:#f8f8f8;
}

/* ================= HERO SECTION ================= */
.directhero{
    width:100%;
    height:100vh;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding:0 8%;
}

.directhero img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-2;
    animation:zoomBg 12s ease-in-out infinite alternate;
}

.directhero::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.7));
    z-index:-1;
}

.directhero-content{
    max-width:550px;
    position: absolute;
    text-align: start;
    right: 40px;
    bottom: 100px;
    color:#fff;
}

.directhero-content h1{
    font-size:50px;
    margin-bottom: 25px;
    line-height: 0.5;
    animation:fadeUp 1s ease forwards;
}

.directhero-content p{
   font-size:18px;
    margin:40px 0;
    line-height: 0%;
    animation:fadeUp 1.2s ease forwards;
}

.directhero-buttons{
     display:flex;
    justify-content:flex-start;
    gap:60px;
    animation:fadeUp 1.4s ease forwards;
}


.directbtn{
    padding:12px 25px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:0.4s ease;
    display:inline-block;
}

.directprimary-btn{
    background:#ff7a2f;
    color:#fff;
}

.directsecondary-btn{
    border:2px solid #fff;
    color:#fff;
}
.directprimary-btn:hover{
    transform:translateY(-5px);
    background:#1535a0;
}


.directsecondary-btn:hover {
    background: #fff;
    transform: translateY(-5px);
    color: #ff7a2f; 
}

/* mobile responsive */
@media (max-width:768px){

    .directhero-content{
    max-width:550px;
    position: absolute;
    text-align: start;
    right: 70px;
    bottom:10px;
    color:#fff;
}
    .directhero-content h1{
        font-size: 32px;
        margin-bottom: 5px;
        line-height: 0.5;
        
    }
    .directhero-content p{
     font-size:12px;
     text-align: start;
        
    }
}
/*============
 CONTENT
 ==============*/
.direct-section{
    background-color: #1535a0;
    width:100%;
    overflow: hidden;
}
.direct-content {
    max-width: 90%;       
    margin: 48px auto 0;   
    padding: 0 20px;      
    text-align: justify;    
    opacity: 0;             
    animation: contentFadeUp 1.2s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
    animation-delay: 0.3s;  
}
.direct-p {
    font-size: 1.15rem;    
    line-height: 1.75;      
    color: #ff7a2f;        
    font-weight: 400;
    letter-spacing: 0.2px;  
}

@keyframes contentFadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px); 
    }
    100% {
        opacity: 1;
        transform: translateY(0px); 
    }
}
/*=======================
  WHAT WE DO SECTION
=======================*/


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

/* Section Container */
.services-container{
    max-width:1200px;
    width:100%;
    margin:auto;
    padding:80px 20px;
    text-align:center;
}

/*=======================
  HEADER
=======================*/

.services-header{
    margin-bottom:60px;
}

.services-header .sub-title{
    color:#656565;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
    display:inline-block;
}

.services-header .sub-title::before,
.services-header .sub-title::after{
    content:"•";
    margin:0 8px;
}

.services-header h2{
    font-size:42px;
    color:#f26522;
    font-weight:700;
    margin-top:12px;
}

.services-header h2 span{
    color:#f26522;
}

/*=======================
  GRID
=======================*/

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
}

/*=======================
  CARD
=======================*/

.service-card{
    background:#fff;
    border-radius:15px;
    border:1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display:flex;
    flex-direction:column;
    align-items:center;
    padding-bottom:35px;
    transition:all .4s ease;
    position: relative;
    overflow: visible; 

}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(242,101,34,.15);
}

/*=======================
  IMAGE
=======================*/

.image-wrapper{
    position:relative;
    width:100%;
    height:240px;
    overflow:hidden;
     border-radius: 15px 15px 0 0;
}

.image-wrapper img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}

.service-card:hover .image-wrapper img{
    transform:scale(1.08);
}


/*=======================
  CONTENT
=======================*/

.card-content{
    padding:45px 25px 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    flex-grow:1;
}

.card-content h3{
    font-size:20px;
    color:#f26522;
    font-weight:700;
    margin-bottom:15px;
    line-height:1.4;
}

.card-content p{
    font-size:14px;
    color:#8b8a8ad9;
    line-height:1.8;
    margin-bottom:25px;
}

/*=======================
  ORANGE ACCENT LINE
=======================*/

.accent-line{
    width:45px;
    height:4px;
    background:#f26522;
    border-radius:50px;
    margin-top:auto;
    transition:width .4s ease;
}

.service-card:hover .accent-line{
    width:80px;
}

/*=======================
  RESPONSIVE
=======================*/

@media (max-width:992px){

    .services-header h2{
        font-size:36px;
    }

    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:768px){

    .services-header h2{
        font-size:30px;
    }

    .services-grid{
        grid-template-columns:1fr;
    }

    .image-wrapper{
        height:220px;
    }
}

@media (max-width:480px){

    .services-container{
        padding:60px 15px;
    }

    .services-header h2{
        font-size:26px;
    }

    .card-content{
        padding:45px 20px 0;
    }
}


/*=========================
 Emergency Response & Crisis Relief
============================*/
.dual-section{
    padding:80px 20px;
    background:#f9f9f9;
}

.container{
    max-width:1200px;
    margin:auto;
    display:flex;
    gap:40px;
    align-items:stretch;
}

/* Common Box Style */
.box{
    flex:1;
    background:#fff;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    position:relative;
    overflow:hidden;
    transition:0.4s ease;
}

.box h2{
    font-size:24px;
    color:#ff7a2d;
    margin-bottom:15px;
}

.box p{
    font-size:15px;
    color:#666;
    line-height:1.8;
}


.left{
    border-left:6px solid #e74c3c;
}

.right{
    border-left:6px solid #f26522;
}

/* Hover effect */
.box:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

/* RESPONSIVE */
@media(max-width:768px){
    .container{
        flex-direction:column;
    }

    .box{
        width:100%;
    }
}

/*==========================
     GALLERY SECTION
     ========================*/
     *{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    padding:0px;
    font-family:Arial, sans-serif;
}

.gallery{
    display:grid;
    padding: 50px;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    cursor:pointer;
    border-radius:10px;
}

.gallery-item img{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
    transition:transform 0.4s ease;
}

.gallery-item:hover img{
    transform:scale(1.1);
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.6);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
    font-weight:bold;
    opacity:0;
    transition:opacity 0.4s ease;
}

.gallery-item:hover .overlay{
    opacity:1;
}

/* Tablet */
@media (max-width: 992px){
    .gallery{
        grid-template-columns:repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px){
    .gallery{
        grid-template-columns:1fr;
    }
}





